<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  {% block head %}
  <script type="text/javascript" src="{{ SITE_ROOT }}/js/jquery.min.js"></script>
  <script type="text/javascript" src="{{ SITE_ROOT }}/js/jquery-ui.min.js"></script>
  <link rel="stylesheet" type="text/css" href="{{ SITE_ROOT }}/css/base.css" />
<!--  <link rel="stylesheet" type="text/css" href="{{ SITE_ROOT }}/css/jquery-custom.css" /> -->
  <link rel="stylesheet" type="text/css" href="{{ SITE_ROOT }}/css/jquery-ui-overcast.css" />
  {% endblock %}
 <head>
<body>

<div id="wrapper" class="ui-widget">

 <div id="header" style="padding: 10px" class="ui-corner-all ui-state-highlight">
  <div id="title_bar">
   <a href="/">NoPBX {{ VERSION }}</a>
  </div>
 </div>

 <div id="menu" class="bar ui-corner-all ui-state-default">
  <div id="breadcrumb" class="breadcrumb">{% block breadcrumb %}<a href="/">Home</a>{% endblock %}</div>
  {% if user.is_authenticated %}
  <div id="accountmenu">
   <a class="mainmenuitem" href="{{ SITE_ROOT }}/accounts/logout">Logout</a>
  </div>
  {% endif %}
 </div>

 <div id="errors">
  {% block errors %}
  {% endblock %}
 </div>

 <div id="content" class="ui-corner-all">
  {% block content %}
  {% endblock %}
 </div>

 <div id="footer" class="bar ui-corner-all ui-state-default">&nbsp;</div>

</div><!-- wrapper -->

</body>
</html>
